prepare("select * from staff_table where phone_no = '$phone'") ; $chk->execute(); if($chk->rowcount() > 0) { $msg = "Phone Already Registered, register another" ; } else { if($user->regstaff($staffno,$names,$phone,$emails,$gen,$res,$sec, $pos,$gua,$gphone,$ctry,$states,$city,$adm)) { $msg = $names .'-'.$staffno.'-'."Registered Successfully" ; } } } ?> New Staff Reg

Staff Registration

prepare("select * from staff_table") ; $gtcat->execute() ; $count = 0 ; while($row = $gtcat->fetch(pdo::FETCH_ASSOC)) { $count++ ; echo "" ; echo "" ; echo "" ; echo "" ; echo "" ; echo "" ; ?> " ; } ?>
SN STAFF NAME STAFF-ID PHONE DEPARTMENT ACTIONS
".$count."".$row['names']."".$row['staff_id_no']."".$row['phone_no']."".$row['sections']."EDIT|DELETE